﻿package org.openChart.meta 
{
	
	/**
	 * The class of y axis.
	 * 
	 * @author Chongyuan
	 */
	public class YAxis extends Axis
	{
		
		public function YAxis( object:Style, minValue_:Number = 0, maxValue_:Number = 10, step_:Number = 1 ) 
		{	
			super(object);
			if (minValue_ > maxValue_)
				throw new Error("The max-value is less than min-value.");
			this.minValue = minValue_;
			this.maxValue = maxValue_;
			this.step = step_;
			
		}

	}
	
}